-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ProduceCode using syntax combinators #218
base: master
Are you sure you want to change the base?
Conversation
11490db
to
6f55286
Compare
6f55286
to
6ab57ab
Compare
@Ericson2314 Before I continue, do you agree with the approach I’m taking here? In particular, is it fine to add a dependency on |
Yeah I checked before and |
Maybe a dumb question, but... what hinders us from actually creating a TemplateHaskell backend? |
@knothed Currently Instead, I want to keep processing In this patch, I introduce combinators such as
but But as the next step, I will overload those combinators:
and then we could have |
Okay, awesome! So for generating Template Haskell we would need to replace the .y files with some kind of EDSL allowing us to specify the reduction actions directly in TH? |
Yes. And if we use typed TH, type errors in the reduction rules can be reported in the original source code, not in the generated code. |
Sounds pretty cool. Let me know if I can be of any help :) |
No description provided.